﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using System.Web.Mvc;
using System.Web.Security;

namespace Reserva_de_Vuelo.Models
{
    public class ReservaPasajero
    {
        public int RESERVA_ID { get; set; }
        public int PAX_ID { get; set; }

        [Required(ErrorMessage = "Ingrese nombre")]
        public string PAX_NOM { get; set; }

        [Required(ErrorMessage = "Ingrese apellido paterno")]
        public string PAX_APE_PAT { get; set; }

        [Required(ErrorMessage = "Ingrese fecha de nacimiento")]
        [DataType(DataType.Date), DisplayFormat(DataFormatString = "{0:dd/MM/yyyy}", ApplyFormatInEditMode = true)]
        public String PAX_FEC_NAC { get; set; }

        public string PAX_TIPO { get; set; }

        public string PAX_TIPO_DOC { get; set; }

        [Required(ErrorMessage = "Ingrese Nro documento")]
        public string PAX_NUM_DOC { get; set; }

        public Pais PAIS { get; set; }
        public string ASIENTO { get; set; }
        public decimal TARIFA { get; set; }
        public decimal IMPUESTOS { get; set; }
        public decimal FEE { get; set; }
        public String PaisPax { get; set; }
    }
}